package com.itheima.stock.pojo;

import com.fasterxml.jackson.annotation.JsonFilter;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @author by itheima
 * @Date 2022/1/18
 * @Description
 */
@Data
public class WeekInfo {
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date mxTime;
    @JsonIgnore
    private Date miTime;
    private BigDecimal maxPrice;
    private BigDecimal  minPrice;
    private BigDecimal  avgPrice;
    private BigDecimal openPrice;
    private BigDecimal closePrice;
}
